using System;
using System.ComponentModel.DataAnnotations;

namespace MES_workbench.Domian.Entities
{
    /// <summary>
    /// 工序提醒
    /// </summary>
    public class ProcessStepReminder
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        public int ProcessStepId { get; set; }

        /// <summary>
        /// 单据编号，如：GDDI2023512698
        /// </summary>
        public string? DocumentNo { get; set; }

        /// <summary>
        /// 工序名称，如：调味下料、磨片等
        /// </summary>
        public string? ProcessName { get; set; }

        /// <summary>
        /// 状态，如：“已入库”、“执行中”、“已完成” 等
        /// </summary>
        public string? DocumentStatus { get; set; }

        /// <summary>
        /// 计划开始时间，格式：YYYY-MM-DD HH:mm:ss
        /// </summary>
        public DateTime? PlannedStartTime { get; set; }

        /// <summary>
        /// 计划结束时间，格式：YYYY-MM-DD HH:mm:ss
        /// </summary>
        public DateTime? PlannedEndTime { get; set; }

        /// <summary>
        /// 责任人
        /// </summary>
        public string? Owner { get; set; }

        /// <summary>
        /// false 未删除，true 已删除（软删除）
        /// </summary>
        public bool IsDelete { get; set; }=false;
    }
}
